/*
 *  Copyright (c) Skrumtious
 */
package com.skrumtious.action.bean;

import java.io.Serializable;

/**
 * An error occurred, so lets display what went wrong.
 * 
 * @author Tony
 *
 */
public class ErrorBean implements Serializable {

	/**
	 * SUID
	 */
	private static final long serialVersionUID = -3253281234744891921L;

	/**
	 * ErrorBean
	 */
	public static final String BEAN_NAME = "ErrorBean";
	
	/**
	 * Error message
	 */
	private String errorMsg;

	
	/**
	 * @param errorMsg
	 */
	public ErrorBean(String errorMsg) {
		super();
		this.errorMsg = errorMsg;
	}

	/**
	 * @return the errorMsg
	 */
	public String getErrorMsg() {
		return errorMsg;
	}

	/**
	 * @param errorMsg the errorMsg to set
	 */
	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
	
	
}
